﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.MEGA
{
    /// <summary>
    /// 行政区划表
    /// </summary>
    [Table("MEGA_XZQH")]
    public class MEGA_XZQH
    {

        /// <summary>
        /// 乐观锁
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 是否展示
        /// </summary>
        public Boolean IsShow { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public String Editor { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? EditTime { get; set; }

        /// <summary>
        /// 行政区划名称
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// 上级行政区划id
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 行政区划编码
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 中心点经度
        /// </summary>
        public String Lng { get; set; }

        /// <summary>
        /// 中心点纬度
        /// </summary>
        public String Lat { get; set; }

        /// <summary>
        /// 行政化区临界点经纬度
        /// </summary>
        public String JsonData { get; set; }

        /// <summary>
        /// 等级
        /// </summary>
        public int Level { get; set; } = 0;

        /// <summary>
        /// 线颜色
        /// </summary>
        public String LineColor { get; set; }

        /// <summary>
        /// 线透明度
        /// </summary>
        public String LineOpacity { get; set; }

        /// <summary>
        /// 区块颜色
        /// </summary>
        public String AreaColor { get; set; }

        /// <summary>
        /// 区块透明度
        /// </summary>
        public String AreaOpacity { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Note { get; set; }

    }
}